package com.photography.wedding.dao;

import com.photography.wedding.pojo.News;
import com.photography.wedding.pojo.Picture;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NewsMapper {
    int deleteByPrimaryKey(String id);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKey(News record);

    List<News> selectNewsAll();



}